<script type="text/html" id="provinceId_tpl">
    <option value="">请选择省</option>
    <%each data as arr i%>
    <option value="<%arr.id%>"><%arr.name%></option>
    <%/each%>
</script>
<script type="text/html" id="cityId_tpl">
    <option value="">请选择市</option>
    <%each data as arr i%>
    <option value="<%arr.id%>" data-pid="<%arr.pid%>"><%arr.name%></option>
    <%/each%>
</script>
<script type="text/html" id="areaId_tpl">
    <option value="">请选择区</option>
    <%each data as arr i%>
    <option value="<%arr.id%>" data-pid="<%arr.pid%>"><%arr.name%></option>
    <%/each%>
</script>